/**
 * 零基础学C语言
 * 
 * version: 1st
 * author: 明日科技
 * http://www.mingrisoft.com
 */

#include <stdio.h>

void judgeTemperature(int temperature);
int getTemperature();

int main() {
    judgeTemperature(getTemperature());

    return 0;
}

int getTemperature() {
    int temperature;
    printf("please input a temperature:\n");
    scanf("%d", &temperature);
    return temperature;
}

void judgeTemperature(int temperature) {
    if(temperature <= 37.3 && temperature >= 36) {
        printf("体温正常\n");
    } else {
        printf("体温不正常\n");
    }
}

/*
output:

*/